package com.qf.pojo;

import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 注解  Set Get方法 也想打注解
 * public User(){} ： 注解
 *       public User(Integer id, String username, String password, Boolean gender, Date registTime) {
 *         this.id = id;
 *         this.username = username;
 *         this.password = password;
 *         this.gender = gender;
 *         this.registTime = registTime;
 *     }
 *
 *     @Data : set Get 方法
 *
 *     @NoArgsConstructor :  public User(){} ： 注解
 *     @AllArgsConstructor : 全参构造器注解
 *
 *     @Data
 * @NoArgsConstructor
 * @AllArgsConstructor
 * @ToString
 * @Setter
 * @Getter
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class User implements Serializable {
    private Integer id;
    private String username;
    private String password;
    private Boolean gender;
    private Date registTime;


}